package main

import "fmt"

type Course struct {
	Name string
	Desc string
}

<<<<<<< HEAD
// 绑定结构体规范
func (c *Course) String() string {
	return c.Name + c.Desc
}

func main() {
	//结构体的空指针
	//c := new(Course)

=======
func (c *Course) String() string {
	return c.Name + c.Desc
}
func main() {
	//结构体的空指针
	//c := new(Course)
>>>>>>> origin/dev
	c := &Course{}
	fmt.Println(c.String())
}
